﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace PreeRegisterModel
{
    /// <summary>
    /// 取消预约请求
    /// </summary>
    public class CancelOrderRequestModel
    {
        /// <summary>
        /// 接入类型:0序号预约，1分时预约
        /// </summary>
        public string atype { get; set; }
        /// <summary>
        /// 号源序号
        /// </summary>
        public string iid { get; set; }
        /// <summary>
        /// 挂号序号
        /// </summary>
        public string inum { get; set; }
        /// <summary>
        /// 预约号，全局唯一
        /// </summary>
        public string oid { get; set; }
        /// <summary>
        /// 排班标识
        /// </summary>
        public string wid { get; set; }
        /// <summary>
        /// 类型卡号
        /// </summary>
        public string cid { get; set; }
        /// <summary>
        /// 卡类型1社保卡，3诊疗卡
        /// </summary>
        public string ctype { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 患者手机号码
        /// </summary>
        public string tel { get; set; }
        /// <summary>
        /// 订单号  liujia151208
        /// </summary>
        public string orderid
        { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string source { get; set; }

    }

    /// <summary>
    /// 取消预约请求_联康  liujia160102
    /// </summary>
    public class CancelOrderRequestModel_lk
    {
        /// <summary>
        /// 接入类型:0序号预约，1分时预约
        /// </summary>
        public string atype { get; set; }
        /// <summary>
        /// 号源序号
        /// </summary>
        public string iid { get; set; }
        /// <summary>
        /// 挂号序号
        /// </summary>
        public string inum { get; set; }
        /// <summary>
        /// 预约号，全局唯一
        /// </summary>
        public string oid { get; set; }
        /// <summary>
        /// 排班标识
        /// </summary>
        public string wid { get; set; }
        /// <summary>
        /// 类型卡号
        /// </summary>
        public string cid { get; set; }
        /// <summary>
        /// 卡类型1社保卡，3诊疗卡
        /// </summary>
        public string ctype { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 患者手机号码
        /// </summary>
        public string tel { get; set; }

    }

    public class CancelOrderResponseModel
    {
        /// <summary>
        /// 返回编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public CancelOrderModel result { get; set; }
    }

    //[XmlType("Result")]
    public class CancelOrderModel
    {
        public string dcount;

        /// <summary>
        /// 门诊排班标识 
        /// </summary>
        public string wid { get; set; }
        /// <summary>
        /// 可预约剩余数量
        /// </summary>
        public string count { get; set; }
        /// <summary>
        /// 交易时间
        /// </summary>
        public string tdate { get; set; }
    }
}
